package com.ocom.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ocom.common.entity.master.EntityCompanykeyInfo;

import java.util.List;


public interface CompanyKeyInfoService extends IService<EntityCompanykeyInfo> {
    /**
     * 添加单位秘钥信息
     * */
    public void AddCompanyKeyInfo(EntityCompanykeyInfo companykeyInfo);

    List<EntityCompanykeyInfo> selectCompanyKeyList(Long comId);

    PageInfo<EntityCompanykeyInfo> selectCompanyKeyListPage(Long comId, Integer page, Integer size);

    int updateCompanyCommKey(Long comId, String commKey);

    EntityCompanykeyInfo getCompanyKeyInfo(Long companyId);
}
